package ld.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Emp implements Serializable {
    @Id
    private Integer eid;

    private String ename;

    private String sex;

    private String city;

    private Integer did;

    @Transient
    private String dname;
}
